package com.xmy.study.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.xmy.study.entity.WillingnessSurvey;
import com.xmy.study.mapper.WillingnessSurveyMapper;
import com.xmy.study.service.IWillingnessSurveyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WillingnessSurveyServiceImpl implements IWillingnessSurveyService {
    @Autowired
    WillingnessSurveyMapper willingnessSurveyMapper;

    @Override
    public long getCount(Wrapper<WillingnessSurvey> wrapper) {
        return willingnessSurveyMapper.getCount(wrapper);
    }

    @Override
    public void goToSave(WillingnessSurvey willingnessSurvey) {
        willingnessSurveyMapper.goToSave(willingnessSurvey);
    }
}
